body{
      /* 整体布局 */
    .admin-container {
        display: flex;
        min-height: 100vh;
    }
    
/* 左侧导航栏 */
    .admin-sidebar {
    width: 250px;
    background: #001529;
    color: #fff;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    }


    .logo-container {
    text-align: center;
    }

    .logo {
    width: 120px;
    height: auto;
    }

/* 菜单样式 */
    .admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    }

.admin-menu li {
    padding: 0;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.admin-menu li a:hover {
    background: rgba(255,255,255,0.1);
}

.admin-menu li.active a {
    background: #1890ff;
}

.admin-menu li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.badge {
    background: #ff4d4f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: auto;
}

    /* 导航菜单 */
    .admin-main .admin-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0,21,41,0.08);
        margin-bottom: 20px;
    }
    .breadcrumb {
        display: flex;
        align-items: center;
    }
    
    .breadcrumb i {
        margin: 0 10px;
        color: #999;
    }
    
    .admin-search {
        position: relative;
    }
    
    .admin-search input {
        padding: 8px 30px 8px 10px;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
    }
    
    .admin-search i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }
    /* 主内容区 */
    .admin-main {
        flex: 1;
        margin-left: 250px;
        padding: 24px;
    }

    /* 顶部导航 */
    .admin-header {
        padding: 20px;
    }
    /* 面包屑 */
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .breadcrumb span {
        color: #666;
        font-size: 14px;
    }

    .breadcrumb i {
        color: #999;
        font-size: 12px;
    }

    /* 搜索框 */
    .admin-search {
        position: relative;
        width: 320px;
    }

    .admin-search input {
        width: 70%;
        padding: 10px 4px;

        border: 1px solid #d9d9d9;
        border-radius: 4px;
    }
    .Search{
        width: 25%;
        padding: 10px 4px;
        background-color: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
        cursor: pointer;
        
    }

    .admin-search input:focus {
        border-color: #40a9ff;
        box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
        outline: none;
    }

    .admin-search i {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        cursor: pointer;
    }

    /* 用户列表区域 */
    .user-content {
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 1px 4px rgba(0,21,41,0.08);
        padding: 20px;
    }

    /* 工具栏 */
    .toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        
    }

    .btn {
        padding: 8px 16px;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.3s;
    }

    .btn-primary {
        background: #1890ff;
        color: #fff;
        height: 40px;
        width: 100px;
    }

    .btn-primary:hover {
        background: #40a9ff;
    }

    /* 表格样式 */
   /* 表格整体样式 */
   .user-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table th,
.user-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.user-table th {
    background: #fafafa;
    font-weight: 500;
    color: #666;
}

.user-table tr:hover {
    background: #fafafa;
}

/* 状态标签样式 */
.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* 正常状态标签样式 */
.status-active {
    background-color: #d4edda;
    color: #155724;
}

/* 冻结状态标签样式 */
.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* 按钮样式 */
.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

/* 编辑按钮样式 */
.btn:nth-child(1) {
    background-color: #007bff;
    color: white;
}

/* 编辑按钮悬停效果 */
.btn:nth-child(1):hover {
    background-color: #0056b3;
}

/* 删除按钮样式 */
.btn:nth-child(2) {
    background-color: #dc3545;
    color: white;
}

/* 删除按钮悬停效果 */
.btn:nth-child(2):hover {
    background-color: #c82333;
}

    /* 分页 */
    /* 分页容器样式 */
    .pagination {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 24px;
        gap: 8px;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        border: 1px solid #d9d9d9;
        background: #fff;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .page-btn.active {
        background: #1890ff;
        border-color: #1890ff;
        color: #fff;
    }

    .page-btn:hover:not(.active) {
        border-color: #1890ff;
        color: #1890ff;
    }

/* 图标样式 */
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
    /* 模态框背景样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明背景 */
}

/* 模态框内容样式 */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/* 关闭按钮样式 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 表单标签样式 */
form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* 表单输入框样式 */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 表单下拉选择框样式 */
form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 提交按钮样式 */
form button[type="submit"] {
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

form button[type="submit"]:hover {
    background-color: #0056b3;
}
}